package daf

class ControllerLog {

    static constraints = {
    	messageTime()
    	messageType()
    	messageSubtype(nullable:true)
    	incomingStatus()
		dispatchChannel(nullable:true)
    	dispatchChannelType(nullable:true)
    	isError(default:false)
    }
    static mapping = {
    	id generator: 'sequence'
    	message type: 'text'
    }
    
    String applicationGuid
    String messageGuid
    String messageType
    String messageSubtype
    String incomingStatus
    Boolean isError
    String dispatchChannel
    String dispatchChannelType
    String message
    Date messageTime
    
}
